﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ZBJF.Warranty.BLL
{
    public partial class ServiceProviderBranchServiceTypeService
    {
        #region 删除服务商网点可服务类型 + bool DeleteServiceProviderBranchServiceType(long serviceProviderBranchId)
        /// <summary>
        /// 删除服务商网点可服务类型
        /// </summary>
        /// <param name="serviceProviderBranchId">服务商网点ID</param>
        /// <returns></returns>
        public bool DeleteServiceProviderBranchServiceType(long serviceProviderBranchId)
        {
            string sql = "DELETE FROM ServiceProviderBranchServiceType WHERE ServiceProviderBranchId=@ServiceProviderBranchId";
            int re = ExcuteSql(sql, new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("ServiceProviderBranchId", serviceProviderBranchId) });
            return re > 0;
        }
        #endregion
    }
}
